package com.se2.antiqueexhibition.Service.impl;

import com.se2.antiqueexhibition.Mapper.UserMapper;
import com.se2.antiqueexhibition.Service.UserService;
import com.se2.antiqueexhibition.pojo.User;
import jakarta.annotation.Resource;
import org.springframework.stereotype.Service;

@Service
public class UserServiceimpl  implements UserService {

    @Resource
    private UserMapper userMapper;

    @Override
    public com.se2.antiqueexhibition.pojo.User getUserById(Integer id) {
        return userMapper.getUserById(id);
    }
}
